<?php
/**
 * 信誉规则
 * @author Ice iceinto@mallog.com.cn
 */
class CreditRuleModel extends BaseModel
{
	/**
	* 获取规则信息
	* @author Ice <iceinto@mallog.com.cn>
	*/
	public function getAll(){
		$r = $this->select();
		$rr = array();
		foreach($r  as $v){
			$rr[$v['id']] = $v;
		}
		return $rr;
	}
}
?>